package com.exigen.performance.test.webapp.services;

import java.util.List;

import com.exigen.performance.test.webapp.domain.DashboardEntity;
import com.exigen.performance.test.webapp.domain.ProjectEntity;

public interface DashboardService {

	/**
	 * Method to delete dashboard entity.
	 * 
	 * @param entity
	 * @return
	 */
	public boolean deleteDashboardEntity(DashboardEntity entity);

	/**
	 * Method that returns projects not used in dashboard.
	 * 
	 * @return ProjectEntity list
	 */
	public List<ProjectEntity> getAvailableProjectListForDashbord();

	/**
	 * Method to create new entity to show on dashboard.
	 * 
	 * @param entity
	 */
	public void createNewDashboardElement(DashboardEntity entity);

	/**
	 * Method to update dashboard element state.
	 */
	public void updateDashboard();

	/**
	 * Method returns all dashboard elements.
	 * 
	 * @return DashboardEntity list
	 */
	public List<DashboardEntity> getDashboardList();

}
